using Ant.Dto.StoreDto;
using Ant.EntityFrameworkCore.Model;
using AutoMapper;

namespace Ant.Service.StoreProfile
{
    public class StoreProfile:Profile
    {
        public StoreProfile()
        {
            CreateMap<AddStoreDto,StoreInfo>();
            CreateMap<StoreInfo,GetStoreDto>()
                .MaxDepth(2);
        }
    }
}